package com.tang.auth.api;

import com.tang.auth.entity.AuthUserDTO;
import com.tang.common.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 用户RPC服务
 *
 * @author Tang
 * @date 2024/2/21 13:13
 **/
@FeignClient("tc-club-auth")
public interface UserFeignService {

    @PostMapping("/user/getUserInfo")
    Result<AuthUserDTO> getUserInfo(@RequestBody AuthUserDTO authUserDTO);
}
